<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>

        #parent{

            background-color: #a0ff4b59;

            position: absolute;
        }

        #sub1{

            background-color: #F4A283;

            height: 200px;

            width: 200px;

            position: relative;

            padding: 5px;

            top: 5px;

            left: 5px;


        }

        #sub2{

            background-color: olivedrab;

            height: 200px;

            width: 200px;

            position: relative;
        }


    </style>
</head>
<body>

<div id="parent">
    <div id="sub1">sub1</div>
    <div id="sub2">sub2</div>
</div>

</body>
</html>